package com.graduationproject.examonline.utils;

public class SingelKey {
    private static String key = createKey();
    private static SingelKey instance = new SingelKey();

    private static String createKey() {
        String key = "123456";
//        String key = "";
//        for (int i = 0; i < 32; i++) {
//            key += (int) ((Math.random()) * 10);
//        }
        return key;
    }

    private SingelKey() {
    }

    public String getKey() {
        return key;
    }

    public static SingelKey getInstance() {
        return instance;
    }

}
